package com.seed.fileud.pojo;

import lombok.Data;
import org.springframework.web.multipart.MultipartFile;

import javax.validation.constraints.NotBlank;

@Data
public class FileDTO {
    @NotBlank(message = "hash码不能为空")
    private String hash; // 文件hash
    private String bucket;
    private String path;
    private Integer chunkIndex;
    private String fileName;

    private MultipartFile file;
}
